package com.cn.demo.mapper;

import com.cn.demo.entity.CourseSelection;
import com.cn.demo.entity.CourseSelectionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface CourseSelectionMapper {
    long countByExample(CourseSelectionExample example);

    int deleteByExample(CourseSelectionExample example);

    int insert(CourseSelection record);

    int insertSelective(CourseSelection record);

    List<CourseSelection> selectByExample(CourseSelectionExample example);

    int updateByExampleSelective(@Param("record") CourseSelection record, @Param("example") CourseSelectionExample example);

    int updateByExample(@Param("record") CourseSelection record, @Param("example") CourseSelectionExample example);
}